package com.woniu.his.dms.client;


import com.woniu.his.dms.client.param.DemoParam;
import com.woniu.his.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* name是项目名，contextId是client的名字
*/
@FeignClient(contextId = "demo",name="dms",path="demo")
public interface DemoClient {

    @PostMapping("demo")
    public Result demo(@RequestBody DemoParam param);

}
